LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

AddPresentationStateImageReference(Stream,Int32[],Int32) Method








Stream that contains the image(SOP Instance) to be referenced.
An array which represents the frame numbers inside the image (SOP Instance) to which the presentation state will be applied.
Value that represents the number of frames being set.
Adds a new item to the "Referenced Image Sequence" under the "Presentation State Module" from a stream. .NET support Silverlight support
Syntax
public void AddPresentationStateImageReference( 
   Stream stream,
   int[] frameNumbers,
   int framesCount
)
'Declaration
 
Public Overloads Sub AddPresentationStateImageReference( _
   ByVal stream As Stream, _
   ByVal frameNumbers() As Integer, _
   ByVal framesCount As Integer _
) 
'Usage
 
Dim instance As DicomDataSet
Dim stream As Stream
Dim frameNumbers() As Integer
Dim framesCount As Integer
 
instance.AddPresentationStateImageReference(stream, frameNumbers, framesCount)
public void AddPresentationStateImageReference( 
   Stream stream,
   int[] frameNumbers,
   int framesCount
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.AddPresentationStateImageReference(Stream,Int32[],Int32)( 
   stream ,
   frameNumbers ,
   framesCount 
)
public:
void AddPresentationStateImageReference( 
   Stream^ stream,
   array<int>^ frameNumbers,
   int framesCount
) 

Parameters

stream
Stream that contains the image(SOP Instance) to be referenced.
frameNumbers
An array which represents the frame numbers inside the image (SOP Instance) to which the presentation state will be applied.
framesCount
Value that represents the number of frames being set.
Remarks
This method will add a new item into the "Referenced Image Sequence" (0008,1140) under the "Presentation State Module", by passing the file name of the image (SOP Instance) to be referenced.
Example
For an example, refer to SetPresentationStateInformation.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomDataSet Class
DicomDataSet Members
Overload List
DicomDataSet.SetPresentationStateInformation
DicomDataSet.GetPresentationStateInformation
DicomDataSet.AddPresentationStateImageReference(DicomDataSet, int[], int)
DicomDataSet.RemovePresentationStateImageReference
DicomDataSet.RemoveAllPresentationStateImageReferences
DicomDataSet.GetPresentationStateImageReferenceSOPInstance
DicomDataSet.GetPresentationStateImageReferenceCount
DicomDataSet.FindFirstPresentationStateReferencedSeriesItem
DicomDataSet.FindNextPresentationStateReferencedSeriesItem
DicomDataSet.GetPresentationStateImageReference

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features